<!DOCTYPE html>
<html lang="zh">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>justify-content: space-around</title>
    <style>
        .container {
            display: flex;
            justify-content: space-around;
            background-color: #f2f2f2;
            height: 100px;
            border: 1px solid #ccc;
        }

        .item {
            width: 50px;
            height: 50px;
            background-color: #4CAF50;
            text-align: center;
            line-height: 40px;
            color: #fff;
            font-weight: bold;
        }
    </style>
</head>

<body>
    <div class="container">
        <div class="item">1</div>
        <div class="item">2</div>
        <div class="item">3</div>
        <div class="item">4</div>
    </div>
</body>

</html>